package cc.catface.order.ribbon;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

@Component
public class TestRibbon {

    @Autowired
    private RestTemplate restTemplate;

    public String getAccount() {
        return restTemplate.getForObject("http://SERVER-ACCOUNT/account", String.class);
    }
}
